package at.horario.service.impl;

import at.horario.dao.TurmaDao;
import at.horario.model.Horario;
import at.horario.model.Turma;
import at.horario.service.TurmaManager;

public class TurmaManagerImpl extends GenericManagerImpl<Turma, Long> implements TurmaManager {
    private TurmaDao turmaDao;

    public TurmaManagerImpl(final TurmaDao turmaDao) {
        super(turmaDao);
        this.turmaDao = turmaDao;
    }

    public Turma findBy(Horario horario, int turmaNum) {
        return turmaDao.findBy(horario, turmaNum);
    }
}